package cfg

import "fmt"

const SERVER_PORT = "0.0.0.0:8000"

const MYSQL_USER = "root"
const MYSQL_PWD = "root"
const MYSQL_HOST = "localhost"
const MYSQL_PORT = "3306"
const MYSQL_DB = "test_gorm"

//const MYSQL_DST = "root:root@(localhost:3306)/learn_gin?charset=utf8mb4&parseTime=True&loc=Local"

var MYSQL_DST string = fmt.Sprintf("%s:%s@(%s:%s)/%s?charset=utf8mb4&parseTime=True&loc=Local",
	MYSQL_USER, MYSQL_PWD, MYSQL_HOST, MYSQL_PORT, MYSQL_DB)
